Platform Explorer / Nuxeo Platform 5.8

Component org.nuxeo.ecm.platform.mobile.actions

Contributions

XML Source

<component name="org.nuxeo.ecm.platform.mobile.actions">

  <extension target="org.nuxeo.ecm.platform.actions.ActionService"
             point="actions">

    <action id="back_to_mobile_document" type="link"
            link="#{mobileApplicationActions.cleanCookie}"
            label="command.mobile.go" order="10"
            icon="/icons/mobile.png">
      <category>DOCUMENT_UPPER_ACTION</category>
      <filter-id>isMobileBrowser</filter-id>
    </action>

  </extension>

  <extension target="org.nuxeo.ecm.platform.actions.ActionService"
             point="filters">
    <filter id="isMobileBrowser">
      <rule grant="true">
        <condition>#{mobileApplicationActions.mobileBrowser}</condition>
      </rule>
    </filter>
  </extension>

</component>